<script setup lang="ts">
import { ref } from 'vue'

defineProps({
    msg: String,
})

// const count = ref(0)
let countSum = ref(0);

let coutFunc = () => {
    countSum.value++
}
</script>
<template>
    <div class="home-page">这是 home page</div>
    <el-button type="primary" @click="coutFunc">点击计数</el-button>
    <span>{{ countSum }}</span>
</template>
<style scoped>
.home-page {
    color: $color-195CC2;
}
</style>